from flask_migrate import Migrate
from flask_docs import ApiDoc

from flask_shop import create_app, db

from config import config_map


app = create_app('develop')
Migrate(app, db)
ApiDoc(
    app,
    title="api文档",
    version="1.0",
    description=""
)

if __name__ == "__main__":
    app.run(debug=True)